ElasticPress\Indexable\Post\Post D

Total Complexity 253
Dependencies 9
Dependents 1
Total lines 2,132
Lines of code 1,091
Logical lines of code 541
Comment lines 752
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
format_args()
D
7
90 413
parse_tax_query()
B
35 19 90
parse_orderby()
B
39 15 75
prepare_document()
A
36 13 78
get_indexable_post_taxonomies()
A
53 10 21
get_total_objects_for_query_from_db()
A
52 9 22
filter_allowed_metas()
A
53 9 21
query_db()
A
43 7 51
prepare_terms()
A
48 8 33
get_mapping_name()
A
56 9 17
determine_mapping_version_based_on_existing()
A
52 8 26
adjust_query_fuzziness()
S
56 7 17
bulk_indexing_filter_posts_where()
S
52 6 22
apply_aggregations()
S
59 6 13
get_total_objects_for_query()
S
53 4 24
prepare_thumbnail()
S
53 4 23
determine_mapping_version()
S
55 4 20
get_term_order()
S
55 4 20
get_parent_terms()
S
56 4 18
parse_order()
S
64 4 10
prepare_meta()
S
61 3 12
prepare_date_terms()
S
52 2 23
get_orderby_array()
S
71 2 6
__construct()
S
66 1 8
is_meta_allowed()
S
68 1 7
generate_mapping()
S
68 1 7
get_indexable_post_status()
S
79 1 3
get_indexable_post_types()
S
71 1 5
get_search_algorithm()
S
68 1 6